import request from '@/utils/request'
//分页表格
export function getListPage(params) {
    return request({
        url: '/ejob/jobDispatchInstitution/listPage',
        headers: {
        'Content-Type': 'application/json;charset=UTF-8',
        'pageNum': params.pageNum,
        'pageSize': params.pageSize
        },
        method: 'get',
        params:params
    })
}

//添加劳务派遣公司

export function dealCompanyMsg(msg, params) {
    return request({
      url: '/ejob/jobDispatchInstitution',
      headers: {
        'Content-Type': 'application/json;charset=UTF-8'
      },
      method: msg,
      data:params
    })
  }
// 删除劳务派遣公司
  export function deleteCompany(params) {
    return request({
      url: '/ejob/jobDispatchInstitution',
      headers: {
        'Content-Type': 'application/json;charset=UTF-8'
      },
      method: 'delete',
      data: params
    })
  }